package com.yuelan.apartment.service;

import com.yuelan.apartment.domain.ApaRoom;
import com.yuelan.apartment.domain.vo.ApaRoomVo;

import java.util.List;

/**
 * @description:
 * @Author: ZhaoYi
 * @date: 24-5-23 9:20
 */
public interface ApaRoomService {

    /**
     * 新增房间
     */
    int addRoom(ApaRoom apaRoom);


    /**
     * 批量删除房间
     */
    int deleteRoomIds(Long[] ids);

    /**
     * 更新房间状态
     */
    void updateRoomState(Long[] ids);

    /**
     * 更新房间信息
     */
    int update(ApaRoom apaRoom);

    /**
     * 查询房间信息
     */
    ApaRoom load(Long id);

    /**
     * 查询房租信息列表
     */
    List<ApaRoomVo> pageList(ApaRoom apaRoom);

    /**
     * 导出
     */
    List<ApaRoomVo> export();

}
